CUW\App\Controllers\Admin\Ajax C

Total Complexity 117
Dependencies 15
Dependents 1
Total lines 746
Lines of code 500
Logical lines of code 251
Comment lines 160
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
saveCampaign()
A
41 13 55
changeCartItemVariant()
A
45 12 37
getAllOffersHtml()
A
55 8 18
bulkActions()
S
50 7 27
saveOffer()
S
51 6 26
listProducts()
S
50 5 25
saveSettings()
S
51 5 23
sanitizeOffer()
S
55 5 19
getOfferImage()
S
61 5 11
deleteCampaign()
S
54 4 20
enableCampaign()
S
56 4 17
addProductToCart()
S
56 4 15
handleGuestRequests()
S
63 4 9
handleAuthRequests()
S
63 4 9
duplicateCampaign()
S
59 3 14
deleteOffer()
S
60 3 13
getProductDetailsPopup()
S
62 3 11
listTaxonomies()
S
56 2 18
verifyNonce()
S
68 3 6
performAction()
S
66 3 7
getAuthRequestHandlers()
S
50 1 28
removeItemFromCart()
S
61 2 11
setCampaignsListLimit()
S
65 2 8
setRevenueTaxDisplay()
S
65 2 8
listCoupons()
S
59 1 14
getOfferTemplate()
S
61 1 12
getGuestRequestHandlers()
S
61 1 12
addOfferToCart()
S
64 1 8
getUpsellInfo()
S
64 1 8
getChartData()
S
64 1 8
getSearchLimit()
S
78 1 3